const express = require("express");
const app = express();
const router = express.Router();

const { mysql,executeQuery } = require("../../mysql");

router.get("/logout", (req, res) => {
  
  try {
    // let result = executeQuery()
    res.json({
        res: '退出成功',
    })

  } catch (error) {
    console.error('Error executing query:', error);
    res.status(500).send('Internal Server Error');
  }
});

module.exports = router;